home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Fight
/
bandit_kings.swf
/
scripts
/
DefineSprite_69
/
frame_1
/
DoAction.as
Wrap
Text File
|
2006-07-26
|
496b
|
19 lines
if(_parent._y + _root.speed_bag < _root.groundlevel)
{
_parent._y += _root.speed_bag;
}
else
{
i = 1;
while(i < 3)
{
if(_parent._x - 15 < _root["p" + i]._x && _root["p" + i]._x < _parent._x + 15 && _root["p" + i].carrying == "nothing" && _root["p" + i]._currentFrame < 4 && _root.finished != true)
{
_root["p" + i].loot = _parent.value;
_root["p" + i].carrying = _parent.type;
_parent.gotoAndStop(1);
}
i++;
}
}